package jd.api.request.order;

import jd.api.request.product.SkuIdAndNumEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xujingfeng on 2016年8月19日.
 */
public class OrderFreightEntity implements Serializable {
	// token不需要填写，后台自动填写
	/**
	 * 2017/3/7 注意新旧接口的token不同
	 */
	private String token;
	private List<SkuIdAndNumEntity> sku;
	private Integer province;
	private Integer city;
	private Integer county;
	private Integer town;
	private Integer paymentType;

	public OrderFreightEntity() {
	}

	public OrderFreightEntity(String token, List<SkuIdAndNumEntity> sku,
			Integer province, Integer city, Integer county, Integer town,
			Integer paymentType) {
		this.token = token;
		this.sku = sku;
		this.province = province;
		this.city = city;
		this.county = county;
		this.town = town;
		this.paymentType = paymentType;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public List<SkuIdAndNumEntity> getSku() {
		return sku;
	}

	public void setSku(List<SkuIdAndNumEntity> sku) {
		this.sku = sku;
	}

	public Integer getProvince() {
		return province;
	}

	public void setProvince(Integer province) {
		this.province = province;
	}

	public Integer getCity() {
		return city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	public Integer getCounty() {
		return county;
	}

	public void setCounty(Integer county) {
		this.county = county;
	}

	public Integer getTown() {
		return town;
	}

	public void setTown(Integer town) {
		this.town = town;
	}

	public Integer getPaymentType() {
		return paymentType;
	}

	public void setPaymentType(Integer paymentType) {
		this.paymentType = paymentType;
	}
}
